import { getRequest, postRequest } from '@/lib/axios';
import {
    USER, USERFEEDBACK, SMSRECORDS, USERLOGIN, USERINVITE, USERFEEDBACKREPLY, USERIDVERIFY, USERIDVERIFYAUDIT,
    USERAGENTLIST, USERAGENTAUDIT, USERAGENTRECHARGE, USERAGENTREBATET
} from '@/config/api-constant/slotsgame'

// 获取用户列表
export const userListApi = (param) => {
    return getRequest(USER, param)
}

// 获取用户反馈列表
export const userFeedbackApi = (param) => {
    return getRequest(USERFEEDBACK, param)
}
//答复
export const userFeedbackReplyApi = (param =>{
    return postRequest (USERFEEDBACKREPLY,param)
})

// 短信发送记录
export const userSmsRecordsApi = (param) => {
    return getRequest(SMSRECORDS, param)
}

//登录记录~
export const userLoginApi = (param) => {
    return getRequest(USERLOGIN, param)
}


// 邀请记录
export const userInviteApi = (param) => {
    return getRequest(USERINVITE, param)
}

//实名信息
export const userIdverifyApi = (param) =>{
    return getRequest(USERIDVERIFY,param)
}

//实名审核
export const userIdverifyAuditApi = (param) =>{
    return postRequest(USERIDVERIFYAUDIT,param)
}

// 代理申请
export const userAgentListApi = (param) =>{
    return postRequest(USERAGENTLIST,param)
}
// 代理审核
export const userAgentAuditApi = (param) =>{
    return postRequest(USERAGENTAUDIT,param)
}
// 代理充值
export const userAgentRechargeApi = (param) =>{
    return postRequest(USERAGENTRECHARGE,param)
}
// 代理返利
export const userAgentRebateApi = (param) =>{
    return postRequest(USERAGENTREBATET,param)
}
